package com.test.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * UserInfo entity. @author MyEclipse Persistence Tools
 */

public class UserInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private MemberType memberType;
	private String userId;
	private String userName;
	private String passWord;
	private Integer gender;
	private String passQuestion;
	private String passAnswer;
	private String telNo;
	private String address;
	private Double money;
	private Integer sumScore;
	private Integer userState;
	private Set orderses = new HashSet(0);

	// Constructors

	/** default constructor */
	public UserInfo() {
	}

	/** minimal constructor */
	public UserInfo(MemberType memberType, String userId, String userName,
			String passWord, Integer gender, String passQuestion,
			String passAnswer, String telNo, Double money, Integer userState) {
		this.memberType = memberType;
		this.userId = userId;
		this.userName = userName;
		this.passWord = passWord;
		this.gender = gender;
		this.passQuestion = passQuestion;
		this.passAnswer = passAnswer;
		this.telNo = telNo;
		this.money = money;
		this.userState = userState;
	}

	/** full constructor */
	public UserInfo(MemberType memberType, String userId, String userName,
			String passWord, Integer gender, String passQuestion,
			String passAnswer, String telNo, String address, Double money,
			Integer sumScore, Integer userState, Set orderses) {
		this.memberType = memberType;
		this.userId = userId;
		this.userName = userName;
		this.passWord = passWord;
		this.gender = gender;
		this.passQuestion = passQuestion;
		this.passAnswer = passAnswer;
		this.telNo = telNo;
		this.address = address;
		this.money = money;
		this.sumScore = sumScore;
		this.userState = userState;
		this.orderses = orderses;
	}

	

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public MemberType getMemberType() {
		return this.memberType;
	}

	public void setMemberType(MemberType memberType) {
		this.memberType = memberType;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return this.passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public Integer getGender() {
		return this.gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getPassQuestion() {
		return this.passQuestion;
	}

	public void setPassQuestion(String passQuestion) {
		this.passQuestion = passQuestion;
	}

	public String getPassAnswer() {
		return this.passAnswer;
	}

	public void setPassAnswer(String passAnswer) {
		this.passAnswer = passAnswer;
	}

	public String getTelNo() {
		return this.telNo;
	}

	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Integer getSumScore() {
		return this.sumScore;
	}

	public void setSumScore(Integer sumScore) {
		this.sumScore = sumScore;
	}

	public Integer getUserState() {
		return this.userState;
	}

	public void setUserState(Integer userState) {
		this.userState = userState;
	}

	public Set getOrderses() {
		return this.orderses;
	}

	public void setOrderses(Set orderses) {
		this.orderses = orderses;
	}

}